package com.jpro.module.system.controller.admin.permission.vo.role;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Collections;
import java.util.Set;

@Schema(description = "管理后台 - 角色工作台设置 Request VO")
@Data
public class RoleWorkbenchReqVO {

    @Schema(description = "角色编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "角色编号不能为空")
    private Long id;

    @Schema(description = "区块设置列表")
    private Set<WorkbenchSetVO> workbenchs = Collections.emptySet(); // 兜底

}
